#ifndef SINGLETAXREPORT_H
#define SINGLETAXREPORT_H

#include <vector>

#include <QString>

#include <Report.h>
#include <Payment.h>
#include <Activity.h>

class SingleTaxReport: public Report
{
    private:
        long int totalEarnedSum;
        long int totalTaxPaid;
        short int hiredWorkersNumber;

        QString taxOfficeName;
        QString taxPayerName;

        std::vector<Activity> activities;
        std::vector<Payment> payments;

    public:
        SingleTaxReport();
        //std::string ToString();
        bool WriteToFile(const std::string& fileName);

        void SetTaxPayerName(const QString& name);
        void SetReportQuarter(short int quarter);
        void SetReportYear(short int year);
        void SetActivities(const std::vector<Activity> activities);
        void SetPayments(const std::vector<Payment> payments);
        void SetTaxPaid(long int taxPaid);
        void SetEarnedSum(long int earnedSum);
};

#endif // SINGLETAXREPORT_H
